package com.corpdata.system.md.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;

import com.corpdata.system.md.entity.SMSRecord;

public interface SMSRecordMapper {
	
	@Insert({ "insert into sms_record(id, createdTime, lastModified,phoneNumber,status,returnCode,content) values(#{id}, #{createdTime}, #{lastModified}, #{phoneNumber}, #{status}, #{returnCode}, #{content})" })
	int insertSMSRecord(SMSRecord record);
	
	@Delete("delete from sms_record where id=#{id}")
	int deleteSMSRecord(String id);
	
}
